package cn.com.wangluotongxin.merchants.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 商户管理-商品信息明细
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("merchants_goods_info_mx")
@ApiModel(value = "MerchantsGoodsInfoMx对象", description = "商户管理-商品信息明细")
public class MerchantsGoodsInfoMx implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("数据ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("租户ID")
    private Integer tenantId;

    @ApiModelProperty("主商品ID")
    private Integer goodsId;

    @ApiModelProperty("主商品编号")
    private String goodsNo;

    @ApiModelProperty("主商品名称")
    private String goodsName;

    @ApiModelProperty("主分类ID")
    private Integer quickQueryId;

    @ApiModelProperty("主分类名称")
    private String quickQueryName;

    @ApiModelProperty("分类ID")
    private Integer catalogId;

    @ApiModelProperty("分类路径")
    private String catalogPath;

    @ApiModelProperty("分类名称")
    private String catalogName;

    @ApiModelProperty("主商品图片")
    private String goodsImages;

    @ApiModelProperty("主商品备注")
    private String goodsRemark;

    @ApiModelProperty("主商品启用状态：0.禁用 1.启用")
    private Integer goodsIsEnabled;

    @ApiModelProperty("主商品删除状态：0.未删除 1.已删除")
    private Integer goodsIsDeleted;

    @ApiModelProperty("主商品创建人ID")
    private Integer goodsCreateUser;

    @ApiModelProperty("主商品创建者名称")
    private String goodsCreateName;

    @ApiModelProperty("主商品修改人ID")
    private Integer goodsModifyUser;

    @ApiModelProperty("主商品修改人")
    private String goodsModifyName;

    @ApiModelProperty("主商品创建时间")
    private Date goodsCreateTime;

    @ApiModelProperty("主商品修改时间")
    private Date goodsModifyTime;

    @ApiModelProperty("规格ID")
    private Integer standardId;

    @ApiModelProperty("规格名称")
    private String standardName;

    @ApiModelProperty("颜色ID")
    private Integer colorId;

    @ApiModelProperty("颜色名称")
    private String colorName;

    @ApiModelProperty("尺码ID")
    private Integer sizeId;

    @ApiModelProperty("尺码名称")
    private String sizeName;

    @ApiModelProperty("单位ID")
    private Integer unitId;

    @ApiModelProperty("单位名称")
    private String unitName;

    @ApiModelProperty("原价")
    private BigDecimal oriPrice;

    @ApiModelProperty("销售价")
    private BigDecimal salePrice;

    @ApiModelProperty("是否上架：0.下架 1.上架")
    private Integer isSale;

    @ApiModelProperty("上下架原因")
    private String saleReason;

    @ApiModelProperty("库存数量")
    private Double stockNumber;

    @ApiModelProperty("销售数量")
    private Double saleNumber;

    @ApiModelProperty("规格创建人ID")
    private Integer standardCreateUser;

    @ApiModelProperty("规格创建人")
    private String standardCreateName;

    @ApiModelProperty("规格创建时间")
    private Date standardCreateTime;

    @ApiModelProperty("规格修改人ID")
    private Integer standardModifyUser;

    @ApiModelProperty("规格修改人")
    private String standardModifyName;

    @ApiModelProperty("规格修改时间")
    private Date standardModifyTime;

    @ApiModelProperty("子商品备注")
    private String standardRemark;

    @ApiModelProperty("子商品图片")
    private String standardImages;

    @ApiModelProperty("是否发布")
    private Integer isRelease;

    @ApiModelProperty("审核状态:1.待审核 2.审核中 3.审核通过 4.审核驳回 5.审核撤回")
    private Integer auditStatus;

    @ApiModelProperty("审核备注")
    private String auditMessage;
}
